#ifndef _CONFIGWIN_HPP
#define _CONFIGWIN_HPP

#include "main.hpp"

using namespace Gtk;
using namespace Glib;
using namespace sigc;
using namespace std;
using namespace Gnome;

class ConfigWin{
      private:
              RefPtr<Glade::Xml> refXml;
              Window* configwin;
              Entry* entServer;
              Entry* entFile;
              Entry* entUser;
              Entry* entPass;
              Entry* entKey;
              Button* btnKeyGen;
              Button* btnImport;
              Button* btnExport;
              Button* btnCancel;
              Button* btnOK;
              void Init();
              
              void btnKeyGen_Click();
              void btnImport_Click();
              void btnExport_Click();
              void btnCancel_Click();
              void btnOK_Click();
              
      public:
			 bool FirstRun;
             ConfigWin(bool firstrun=false);
			 void Run(const Window *parent=NULL);
};

#endif
